<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/12/13 0013
  Time: 11:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<%String path = request.getContextPath();%>
<html>
<head>
    <title>Title</title>
    <meta http-equiv="Content-Type" content="text/html";chartset="utf-8">
</head>
<body>
index..........
<%--加载编辑器的容器--%>
<!-- 加载编辑器的容器 -->
<textarea id="info" name="info" rows="6" cols="60"></textarea>
<script type="text/javascript" src="${path}/static/ueditor-utf8/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="${path}/static/ueditor-utf8/ueditor.all.js"></script>
<script type="text/javascript" src="${path}/static/ueditor-utf8/lang/zh-cn/zh-cn.js" charset="GBK"></script>

<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor("info",{
        initialFrameWidth:600,initialFrameHeight:600
    });
</script>
nknk
</body>
</html>
